db.GCOverallCompanySummary.find().forEach(function(doc)
{
    var found=db.CorporateData.findOne({_id:doc.CompanyProfile._id});
    if(!found) return;
    doc.CompanyProfile.NameUrlFriendly=found.CompanyNameUrlFriendly;
    db.GCOverallCompanySummary.save(doc);
}); 

db.GCOverallCompanySummaryExtended.find().forEach(function(doc)
{
    var found=db.CorporateData.findOne({_id:doc.CompanyProfile._id});
    if(!found) return;
    doc.CompanyProfile.NameUrlFriendly=found.CompanyNameUrlFriendly;
    db.GCOverallCompanySummaryExtended.save(doc);
}); 

db.PICompanyAssessment.find().forEach(function(doc)
{
        var found=db.CorporateData.findOne({_id:doc._id});
        if(!found) return;
        doc.CompanyNameSafeUrl=found.CompanyNameUrlFriendly;
        db.PICompanyAssessment.save(doc);
}); 

db.PICompanyAssessmentShortReport.find().forEach(function(doc)
{
        var found=db.CorporateData.findOne({_id:doc.CompanyId});
        if(!found) return;
        doc.CompanyNameSafeUrl=found.CompanyNameUrlFriendly;
        db.PICompanyAssessmentShortReport.save(doc);
}); 
